package com.example.demo.constant;

/**
 * 系统常量.
 *
 * @author Mei Ruoxiao
 * @since 2020/9/12
 */
public class Constant {
    /**
     * 系统默认ID
     */
    public static final long SYSTEM_ID = 1L;
    /**
     * 默认list字符串分隔符
     */
    public static final String DEFAULT_STRING_SPLIT = ",";
    /**
     * 默认list字符串以空格为分割符
     */
    public static final String DEFAULT_SPLIT_SPACE = " ";
    /**
     * 校验名称长度
     */
    public static final int NAME_LENGTH_FIFTY = 50;

    /**
     * The constant EXCEL_DOT.
     */
    public static final String PPT_DOT = ".xlsx";

    /**
     * The constant  EXCEL_DOT.
     */
    public static final String PPTX_DOT = ".xls";

    public static class HeaderKey {
        /**
         * The constant COMPANY_ID.
         */
        public static final String COMPANY_ID = "companyId";
        /**
         * The constant USER_ID.
         */
        public static final String USER_ID = "userId";
    }
}
